import User from './user.model';
import Role from './role.model';
import Menu from './menu.model';
import UserRole from './userRole.model';
import RoleMenu from './roleMenu.model';
import Dept from './dept.model';
import Post from './post.model';
import RoleDept from './roleDept.model';
import UserPost from './userPost.model';
import OperLog from './operLog.model';
import LoginInfo from './loginInfo.model';
import DictType from './dict-type.model';
import DictData from './dict-data.model';
import SysConfig from './sys-config.model';

// 确保所有模型都被导入和关联
// 注意：关联关系已在各自的模型文件中定义

export {
  User,
  Role,
  Menu,
  UserRole,
  RoleMenu,
  Dept,
  Post,
  RoleDept,
  UserPost,
  OperLog,
  LoginInfo,
  DictType,
  DictData,
  SysConfig
};

// 导出默认对象，包含所有模型
export default {
  User,
  Role,
  Menu,
  UserRole,
  RoleMenu,
  Dept,
  Post,
  RoleDept,
  UserPost,
  OperLog,
  LoginInfo,
  DictType,
  DictData,
  SysConfig
};